home *** CD-ROM | disk | FTP | other *** search
/ PCGUIA 117 / PC Guia 117.iso / Software / Produtividade / Software2 / Product4 / Setup.exe / drupal-4.6.0 / index.php < prev    next >
Encoding:
PHP Script  |  2004-08-21  |  595 b   |  31 lines

  1. <?php
  2. // $Id: index.php,v 1.82 2004/08/21 06:42:34 dries Exp $
  3.  
  4. /**
  5.  * @file
  6.  * The PHP page that serves all page requests on a Drupal installation.
  7.  *
  8.  * The routines here dispatch control to the appropriate handler, which then
  9.  * prints the appropriate page.
  10.  */
  11.  
  12. include_once 'includes/bootstrap.inc';
  13. drupal_page_header();
  14. include_once 'includes/common.inc';
  15.  
  16. fix_gpc_magic();
  17.  
  18. $status = menu_execute_active_handler();
  19. switch ($status) {
  20.   case MENU_NOT_FOUND:
  21.     drupal_not_found();
  22.     break;
  23.   case MENU_ACCESS_DENIED:
  24.     drupal_access_denied();
  25.     break;
  26. }
  27.  
  28. drupal_page_footer();
  29.  
  30. ?>
  31.